<script setup lang="ts">
import HomeTitle from '@/components/home-title/index.vue'
import HomeMenu from '@/components/home-menu/index.vue'
</script>

<template>
  <div class="home">
    <el-container>
      <el-header>
        <HomeTitle />
      </el-header>
      <el-container>
        <el-aside width="210px">
          <HomeMenu />
        </el-aside>
        <el-main>
          <RouterView />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style scoped lang="scss">
.home {
  height: 100%;
  .el-header {
    background-color: $bg-color;
  }
  .el-container {
    height: 100%;
  }
}
</style>
